package baiwa.rta.model;

import java.io.Serializable;
import java.util.List;

public class DataTableModel<T> implements Serializable {

	private static final long serialVersionUID = 7103601462016977933L;
	private List<T> items = null;
	private int total = 0;
	private int index = 0;
	private int length = 0;

	public List<T> getItems() {
		return items;
	}

	public void setItems(List<T> items) {
		this.items = items;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

}
